home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0295.lzh / AMOSLIST / text0089.txt < prev    next >
Encoding:
Text File  |  1995-03-01  |  2.3 KB  |  63 lines

  1.  
  2.  
  3. > > Well, it is not realistic at all...
  4. > Who cares if it's 100% realistic or not as long as it looks
  5. > and feels ok? We are talking about a game, and not a complex
  6. > car crash simulator.
  7. > Personally, I think the idea of just transferring some of the other cars
  8. > velocity (vector) to the other car might give good results as
  9. > a rough approximation. This simple approach has also the advantage
  10. > that you can add only a certain percentage of what you've taken
  11. > away from the other car to simulate some of the kinetic energy
  12. > losses.
  13.  
  14. Well, it asked for realistic routines if i am not wrong... 
  15. And doing a percentage appoximation will cause troubles as there are many 
  16. ways the two car can collise that some collision case would be too 
  17. innatural to be true.
  18.  
  19. > > If you have patience i will go home and look on my books...
  20. > > 
  21. > > Sure there is an equation (or two) which can describe every collision you 
  22. > > want...
  23. > > If I remember right it was quite long... but not very complex.
  24. > Realistic inelastic collision handling would be bejond good and evil.
  25. > Even the formula for the elastic collision are long.
  26.  
  27. You're right, but the final solution is very simple!
  28.  
  29. > > I think you want elastic collision, that are collisions were total energy 
  30. > > is conserved. They are more simple... note that  the previous description 
  31. > > of loss of energy was completely false.
  32. > > There is not energy loss during collision but the heat produced by the hit.
  33. > > 
  34. > I think 100% elastic collision will look bad in a car racing game. The
  35. > "bouncing" effect would be much too strong.
  36.  
  37. If you want you can add friction to the cars.
  38.  
  39. > The formula can be optained with equations for kinetic energy and
  40. > impulse (sp?) conservation. Transformation in the center of mass
  41. > makes it easier to solve these equations. The result can be found in
  42. > any physics book, I guess.
  43.  
  44. You're right.
  45.  
  46. > BTW, the description about the energy loss given by the original
  47. > poster wasn't that wrong. You will notice that in real car crashs
  48. > MOST of the kinetic energy is lost through the irreversible deformation
  49. > of the cars!
  50.  
  51. Yes... but do you know how much energy is involved in a car collision?
  52. What percentage of the energy do you think will be dissipated by heat and 
  53. plastic deformations?
  54.  
  55. M&F
  56.  
  57. P.S. Formulae coming soon!!!
  58.  
  59.  
  60.